package com.school.generator.bean;

import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

import java.util.List;

/**
 * @program: 兼职代码
 * @description: 公共参数
 * @author: sunpx
 * @create: 2022-04-25 22:48
 **/
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
public class BaseBean {

    /**
     * bean的名称
     */
    private String beanName;


    private String beanCaseName;


    /**
     * 作者
     */
    private String author;

    /**
     * 表名称
     */
    private String tableName;

    /**
     * 包路径
     */
    private String packagePath;

    /**
     * mapper包名称
     */
    private String mapperPackageName="mapper";

    /**
     * bean包名称
     */
    private String beanPackageName="bean";

    /**
     * service包名称
     */
    private String servicePackageName="service";

    private String controllerPackageName="controller";

    /**
     * 字段数量
     */
    private Integer fieldSize;

    /**
     * 字段集合
     */
    private List<String> fields;


    /**
     * 查询条件配置
     */
    private List<FiledBean> queryConditions;


    /**
     * 是否开启Swagger
     */
    private Integer isSwagger=1;


    /**
     * 表注释
     */
    private String notesTable;


    private String data;

    private int isLonbok;



}
